program Tangent2;

{$APPTYPE CONSOLE}

uses
  SysUtils;

var
  dx, dy, x0, y0, x1, y1, r1, r2, r01, r02: integer;
  d, a1, a2, b1, b2, c1, c2, a3, a4, b3, b4, c3, c4: real;

begin
  Readln (x0, y0, x1, y1, r1, r2);
  d:=(sqrt((x0-x1)*(x0-x1)+(y0-y1)*(y0-y1)));
  if d<(r1+r2) then
  begin
    write ('The line does not exist.');
  end else begin
    dx:=x1-x0;
    dy:=y1-y0;

    r01:=r2-r1;
    a1:=(r01*dx+dy*(sqrt(d*d-r01*r01)))/(d*d);
    a2:=(r01*dx-dy*(sqrt(d*d-r01*r01)))/(d*d);
    b1:=(r01*dy-dx*(sqrt(d*d-r01*r01)))/(d*d);
    b2:=(r01*dy+dx*(sqrt(d*d-r01*r01)))/(d*d);
    c1:=-(a1*x0+b1*y0)-r1;
    c2:=-(a2*x0+b2*y0)+r1;

    r02:=r2+r1;
    a3:=(r02*dx+dy*(sqrt(d*d-r02*r02)))/(d*d);
    a4:=(r02*dx-dy*(sqrt(d*d-r02*r02)))/(d*d);
    b3:=(r02*dy-dx*(sqrt(d*d-r02*r02)))/(d*d);
    b4:=(r02*dy+dx*(sqrt(d*d-r02*r02)))/(d*d);
    c3:=-(a3*x0+b3*y0)-r2;
    c4:=-(a4*x0+b4*y0)+r2;

    write('a1=', a1:0:3, ' ', 'b1=', b1:0:3, ' ', 'c1=', c1:0:3);
    writeln;
    write('a2=', a2:0:3, ' ', 'b2=', b2:0:3, ' ', 'c2=', c2:0:3);
    writeln;
    write('a3=', a3:0:3, ' ', 'b3=', b3:0:3, ' ', 'c3=', c3:0:3);
    writeln;
    write('a4=', a4:0:3, ' ', 'b4=', b4:0:3, ' ', 'c4=', c4:0:3);
  end;
  Readln;
end.
